<%@page import="com.situ.web.entity.Banji"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="<%=request.getContextPath() %>/student?method=insert" method="post">
		用户名<input type="text" name="name"><br>
		年龄<input type="text" name="age"><br>
		性别<input type="text" name="gender"><br>
		<input type="submit" value="添加">
		班级选择:<select name="banjiId" >
			<option>--请选择--</option>
			<c:forEach items="${list }" var="banji">
				<option value="${banji.id }">${banji.name }</option>
			</c:forEach>
		</select>
	</form>
</body>
	<script src="js/jquery-1.11.3.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
	</script>
</html>